package edu.hubu.talentmanagementsystem.model.ext;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import edu.hubu.talentmanagementsystem.model.Model;

import java.io.Serializable;

/**
 * <p>
 * 好友表
 * </p>
 *
 * @author moonlan
 * @since 2021-03-13
 */
@TableName("friend")
public class Friend extends Model<Friend> implements Serializable {


    /**
     * 员工好友ID
     */
    @TableId(value = "friend_id", type = IdType.AUTO)
    private Integer friendId;

    @TableField("staff_id")
    private Integer staffId;

    @TableField("staff_friend_id")
    private Integer staffFriendId;

    @TableField("staff_friend_group")
    private String staffFriendGroup;

    public Integer getFriendId() {
        return friendId;
    }

    public Friend setFriendId(Integer friendId) {
        this.friendId = friendId;
        return this;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public Friend setStaffId(Integer staffId) {
        this.staffId = staffId;
        return this;
    }

    public Integer getStaffFriendId() {
        return staffFriendId;
    }

    public Friend setStaffFriendId(Integer staffFriendId) {
        this.staffFriendId = staffFriendId;
        return this;
    }

    public String getStaffFriendGroup() {
        return staffFriendGroup;
    }

    public Friend setStaffFriendGroup(String staffFriendGroup) {
        this.staffFriendGroup = staffFriendGroup;
        return this;
    }

    @Override
    public String toString() {
        return "Friend{" +
                "friendId=" + friendId +
                ", staffId=" + staffId +
                ", staffFriendId=" + staffFriendId +
                ", staffFriendGroup=" + staffFriendGroup +
                "}";
    }
}
